Return all objects that match the specified \code{checks}, sorted according to
\code{attr}.
\input{\topdir/client/fragments/iterator}
